‹#›
Autodesk Inventor 定制开发在线培训 2010
实现 IAddInRegistrationInfo 接口 (续)
• Public Sub Register() Implements InventorRegistration.IAddInRegistrationInfo.Register
• Utils.RegisterDotNetAssemblies(Path.GetDirectoryName(ExecutablePath), m_dotNetAssemblies, True, True)
•End Sub
•
•Public Sub Unregister() Implements InventorRegistration.IAddInRegistrationInfo.Unregister
• Utils.RegisterDotNetAssemblies(Path.GetDirectoryName(ExecutablePath), m_dotNetAssemblies, False, True)
•End Sub
•
Public Module ReReg
Public Sub Main(ByVal args As String())
InventorRegistration.Utils.DoAddInRegistration(args, New CReReg())
End Sub
End Module
•